<template>
    <van-nav-bar title="分类" left-text="返回" left-arrow @click-left="() => { $router.push('/') }" />

    <van-row>
        <van-col span="8">
            <van-sidebar v-model="active">
                

            </van-sidebar>
        </van-col>
        <van-col span="16">
          
        </van-col>

    </van-row>
</template>

<script setup>
import { categoriesApi } from '@/api/api'
import { ref } from 'vue';
const categoriesApidata = ref([])

categoriesApi().then((res) => {
    console.log(res);
    categoriesApidata.res.data.message

})
const active = ref(0);
</script>

<style lang="scss" scoped></style>